<template>
	<view>
		用户页面
		<navBar name="navbar组件" :content="data" @changeData="changeData">
			<view>我是插槽的内容</view>
		</navBar>
	</view>
</template>

<script setup>
import { ref } from 'vue';
const data = ref('动态数组');
const changeData = (val) => {
	data.value = val;
};
</script>

<style></style>
